<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网易新闻列表</title>
    <link rel="stylesheet" href="../CSS_Layout/CSS/reset.css">

    <style>

        a{
            text-decoration: none;
        }
        .news-warpper{
            width: 300px;
            height: 358px;
            background-color: white;
            /* 上边框 */
            border-top: 1px #ddd solid;
            margin: 50px auto;
        }

        .news-title{
            height: 30px;
            /* 为了设置边框和文字一致，需要设置为行内块元素 */
            display: inline-block;
            border-top: 1px red solid;
            margin-top: -1px;
            padding-top: 10px;

        }
        .news-img{
            height: 150px;
        }
        .news-title a{
            color: #000;
            font-weight: bold;
            text-decoration: none;
        }
        h3{
            margin-top: -30px;
            color: #fff;
            font-weight: bold;
            padding-left: 30px;
        }
        .news-list{
            margin-top: 20px;
            /* padding-left: 14px; */

                /* ■ */
        }
        .news-list li{
            margin-bottom: 17px;

        }

        .news-list li::before{
            content: '■';
            color: rgb(218, 218, 218);
            font-size: 12px;
            margin-right: 4px;
        }

        .news-list li a{
            font-size: 14px;
            color: #666;

        }

        .news-list li a:hover{
            color: red;
        }
    </style>
</head>
<body>
    <div class="news-warpper">
        <h2 class="news-title">
            <a href="#">体育</a>
        </h2>
        <div class="news-img">
            <a href="#">
                <img src="./img/01/1.jpeg" alt="">
                <h3>费德勒费德勒费德勒费德勒费德勒</h3>
            </a>
            
        </div>
        
        <ul class="news-list">
             <li>
                <a href="">乔治：我爱LA 喜欢和LBJ一起打球</a>
            </li>
            <li>
                <a href="">格林：3年前降薪就在等KD 特制T恤嘲讽LBJ</a>
            </li>
            <li>
                <a href="">塔克4000双鞋让保罗羡慕嫉妒恨 乔丹震惊</a>
            </li>
            <li>
                <a href="">CBA下季新赛制:常规赛4组循环 增至46轮</a>
            </li>
        </ul>
       
    </div>
    
</body>
</html>